package com.cenwangkeji.resident.ui.adapter;

import android.support.annotation.Nullable;

import com.cenwangkeji.resident.R;
import com.cenwangkeji.resident.model.bean.ServicePackageEvaluateDetailBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * @松 on 2019/11/10 17:15
 */
public class ServicePackageEvaluateDetailAdapter extends BaseQuickAdapter<ServicePackageEvaluateDetailBean .DataBean.DzbUserRecordDOSBean, BaseViewHolder> {
    public ServicePackageEvaluateDetailAdapter(@Nullable List<ServicePackageEvaluateDetailBean.DataBean.DzbUserRecordDOSBean> data) {
        super(R.layout.item_service_package_evaluate_detail, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ServicePackageEvaluateDetailBean.DataBean.DzbUserRecordDOSBean item) {
        helper.setText(R.id.tv_data, item.getDate());
        helper.setText(R.id.tv_content, item.getContent());
    }
}
